package com.htht.job.executor.model.registry;

import com.htht.job.core.util.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by zzj on 2018/1/30.
 */
@Entity
@Table(name = "htht_registry")
public class Registry  extends BaseEntity{
    @Column(name = "registry_key")
    private String registryKey;
    @Column(name = "registry_ip")
    private String registryIp;
    private String port;
    @Column(name = "mq_destination")
    private String mqDestination;
    @Column(name = "mq_concurrency")
    private int mqConcurrency;

    public String getRegistryKey() {
        return registryKey;
    }

    public void setRegistryKey(String registryKey) {
        this.registryKey = registryKey;
    }

    public String getRegistryIp() {
        return registryIp;
    }

    public void setRegistryIp(String registryIp) {
        this.registryIp = registryIp;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getMqDestination() {
        return mqDestination;
    }

    public void setMqDestination(String mqDestination) {
        this.mqDestination = mqDestination;
    }

    public int getMqConcurrency() {
        return mqConcurrency;
    }

    public void setMqConcurrency(int mqConcurrency) {
        this.mqConcurrency = mqConcurrency;
    }
}
